package com.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.domain.dto.AddressDTO2;
import com.mall.domain.po.Address;
import com.mall.domain.response.Response;

import java.util.ArrayList;
import java.util.List;


/**
 * <p>
 *  服务类
 */
public interface IAddressService extends IService<Address> {

    Response<List<AddressDTO2>> getAddress();

    Response<?> addAddress(String province, String city, String town, String street, String username, String mobile);

    Response<?> deleteAddress(ArrayList<Long> ids);

    Response<?> editAddress(Address address);

    Response<?> is_default(Long id);

    Response<Address> defaultAddress();
}
